<?php
/* @var $this MemberController */
/* @var $data Member */
?>

	<tr>
		<td class="pl15">
			<?php echo CHtml::checkBox('id[]','',array('class'=>'chk','onclick'=>'CheckList("ids[]","id[]")','value'=>$data->zm_id))?>
			<span><?php echo CHtml::encode($data->zm_name)?></span>
		</td>
		<td width="18%">
			<?php if(!empty($data->group)) foreach($data->group as $val){ echo $val->zmg_title."<br>";}?>
		</td>
		<td width="18%">
			<?php if(!empty($data->level)) foreach($data->level as $val){ echo $val->zmt_title."<br> ";}?>
		</td>
		<td width="18%">购买积分：<?php echo $data->zm_value?></td>
		<td width="18%">
			<span><?php echo Member::model()->getCheckStatus($data->zm_check_status)?></span>
		</td> 
		<td class="operate" width="12%">
			<?php echo CHtml::link(Yii::t('glo','Update'),array('update','id'=>$data->zm_id),array('class'=>'c_06c'))?>
			<?php echo CHtml::link(Yii::t('cmp','Delete'),'javascript:',array('class'=>'c_06c','onclick'=>'return art_del_confirm("/manage/member/delete/id/'.$data->zm_id.'","你确定要删除这个会员吗？")'))?> 
		</td>
	</tr>
